package com;

import java.sql.ResultSet;
import java.sql.SQLException;

public class ReceiptsVoucherBean 
{
		private String rbank,rentrynum,rdate,rcheque,racc,racc2,rnar,rcode1,rcode2;
		
		private double ramt,ramt2;
		
		public String getReceiptsBankName()
		{
			return rbank;
		}
		public void setReceiptsBankName(String rbank)
		{
			this.rbank=rbank;
		}
		
		public String getReceiptsEntryNumber()
		{
			return rentrynum;
		}
		public void setReceiptsEntryNumber(String rentrynum)
		{
			this.rentrynum=rentrynum;
		}

		public String getReceiptsDate()
		{
			return rdate;
		}
		public void setReceiptsDate(String rdate)
		{
			this.rdate=rdate;
		}

		public String getReceiptsCheque()
		{
			return rcheque;
		}
		public void setReceiptsCheque(String rcheque)
		{
			this.rcheque=rcheque;
		}

		public String getReceiptsAccount()
		{
			return racc;
		}
		public void setReceiptsAccount(String racc)
		{
			this.racc=racc;
		}

		public double getReceiptsAmount()
		{
			return ramt;
		}
		public void setReceiptsAmount(double ramt)
		{
			this.ramt=ramt;
		}

		public String getReceiptsAccount2()
		{
			return racc2;
		}
		public void setReceiptsAccount2(String racc2)
		{
			this.racc2=racc2;
		}

		public double getReceiptsAmount2()
		{
			return ramt2;
		}
		public void setReceiptsAmount2(double ramt2)
		{
			this.ramt2=ramt2;
		}

		public String getReceiptsNarration()
		{
			return rnar;
		}
		public void setReceiptsNarration(String rnar)
		{
			this.rnar=rnar;
		}
		
		public String getReceiptsAccountcode1()
		{
			return rcode1;
		}
		public void setReceiptsAccountcode1(String rcode1)
		{
			this.rcode1=rcode1;
		}
		
		public String getReceiptsAccountcode2()
		{
			return rcode2;
		}
		public void setReceiptsAccountcode2(String rcode2)
		{
			this.rcode2=rcode2;
		}
		
/*		   public ReceiptsVoucherBean (ResultSet rs) throws SQLException
		   {
		        this.rbank = rs.getString("rbname");
		        this.rentrynum = rs.getString("renum");
		        this.rdate = rs.getString("date");
		        this.rcheque = rs.getString("rcheque");
		        this.racc = rs.getString("raccname");
		        this.ramt = rs.getDouble("ramount");
		        this.racc2 = rs.getString("raccname2");
		        this.ramt2= rs.getDouble("ramount2");
		        this.rnar = rs.getString("rnar");
		        
		   }
*/
}
